﻿// 版权所有：2014  All Rights Reserved.
// 文 件 名：分页实体
// 功能描述：
// 创建标识：m.sh.lin0328@163.com 2014/12/15 20:58:49
// 修改描述：
//----------------------------------------------------------------*/
namespace MslDiary
{
    public class PageInfo : MslDiary.Framework.ViewModelBase
    {
        private int _pageSize = 12;
        private int _pageCount = 0;
        private int _recordCount = 0;
        private int _pageIndex = 1;
        public int PageIndex
        {
            get { return _pageIndex; }
            set
            {
                _pageIndex = value;
                base.RaisePropertyChanged("PageIndex");
            }
        }
        public int PageSize
        {
            get { return _pageSize; }
            set
            {
                _pageSize = value;
                base.RaisePropertyChanged("PageSize");
            }
        }
        public int PageCount
        {
            get { return _pageCount; }
            set
            {
                _pageCount = value;
                base.RaisePropertyChanged("PageCount");
            }
        }
        public int TotalCount
        {
            get { return _recordCount; }
            set
            {
                _recordCount = value;
                base.RaisePropertyChanged("TotalCount");
            }
        }
    }
}
